package com.eorchis.module.addUser.dao;

import java.util.List;
import com.eorchis.core.basedao.dao.IDaoSupport;
import com.eorchis.module.addUser.bean.DepartmentBean;
import com.eorchis.module.addUser.bean.UserBean;
import com.eorchis.module.addUser.ui.commond.UserQueryCommond;

/**
 * Title: IAuditingDao<br>
 * Description: 部委选人接口<br>
 * Company: GoldGov<br>
 * Copyright @ 2012 GoldGov .All rights reserved.<br>
 * @author RongSL
 * @createDate 2016-09-12
 * @version $Revision$
 */
public interface IAddUserDao extends IDaoSupport {

	/**
	 * 按数量新增部委
	 * @Date 2016-09-14
	 * @author RongSL
	 * */
	public boolean addBwAdmin(UserQueryCommond commond);
	
	/**
	 * 启用/作废部委
	 * @Date 2016-09-14
	 * @author RongSL
	 * */
	public boolean EnableBwAdmin(UserQueryCommond commond);
	
	/**
	 * 按条件查询部委
	 * @Date 2016-09-14
	 * @author RongSL
	 * */
	public List<UserBean> findBwAdmin(UserQueryCommond commond);
	
	/**
	 * 获得UUM部委树
	 * @Date 2016-09-14
	 * @author RongSL
	 * */
	public List<DepartmentBean> getUUMDepartmentsList(UserQueryCommond commond);
	
	/**
	 * 重置指定部委密码
	 * @Date 2016-09-14
	 * @author RongSL
	 * */
	public boolean resetBwAdmin(UserQueryCommond commond);
	
	/**
	 * 获得部委树
	 * @Date 2016-09-14
	 * @author RongSL
	 * */
	public List<DepartmentBean> getDepartmentsList(UserQueryCommond commond);
	
	/**
	 * 根据部委id查部委code
	 * @Date 2016-09-20
	 * */
	public String getDeptCode(String deptId);
}
